package com.app.mapper.dunhuang;

import com.app.model.EnterpriseAlbumModel;
import com.app.model.EnterpriseModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface EnterpriseDunhuangMapper extends BaseMapper<EnterpriseModel> {

    List<EnterpriseModel> getComByStreet(String startTime, String endTime);
    List<EnterpriseModel> getComAndStreet(String startTime,String endTime);
    EnterpriseModel selectById(Integer id);


    List<EnterpriseModel> getCompanyList(EnterpriseModel model);

    int getCompanyCount(EnterpriseModel model);

}
